home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2004 #11 / Amiga Plus CD - 2004 - No. 11.iso / AmiSoft / Misc / emu / fbzx.lha / fbzx / cargador.h < prev    next >
C/C++ Source or Header  |  2003-11-14  |  608b  |  23 lines

  1. #include "Z80.h"
  2. #include "computer.h"
  3. #include "emulator.h"
  4.  
  5. struct z80snapshot {
  6.  
  7.   byte A,F,B,C,D,E,H,L,AA,FF,BB,CC,DD,EE,HH,LL,R,I,IFF1,IFF2,Imode,issue;
  8.   word PC,IX,IY,SP;
  9.   byte type; // bit 0/1: 48K/128K/+3
  10.   byte border; // border color
  11.   byte pager; // content of pagination register in 128K mode
  12.   unsigned char page[12][16384];
  13.   unsigned int found_pages; // bit=1: page exists. bit=0: page don't exists.
  14.   unsigned char ay_regs[16];
  15.   unsigned char ay_latch;
  16.  
  17. };
  18.  
  19. int save_z80(char *);
  20. int load_z80(char *);
  21. void load_snap(struct z80snapshot *);
  22. void uncompress_z80(FILE *,int,unsigned char *);
  23.